public class Main {

    public static void main(String[] args) {
        // write your code here
        ArrayStack<Integer> stack = new ArrayStack<>();
        for (int i = 1; i < 6; i++) {
            stack.push(i);
        }
        System.out.println(stack);
        System.out.println(stack.peek());
    }
}
